<template>
  <Card v-if="user">
    <div class="ask-user-info">
      <span>向他提问：</span>
      <UserInfo :user="user"/>
    </div>
  </Card>
</template>

<script>
export default {
  name: "AskUserInfo",
  props: {
    user: {
      type: Object,
      required: true
    }
  }
}
</script>

<style scoped>
.ask-user-info{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  vertical-align: middle;
}
</style>
